package com.fengze.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fengze.common.annotation.Excel;
import com.fengze.common.core.domain.BaseEntity;

/**
 * 询价清单对象 fz_inquiry_manifest
 * 
 * @author lug
 * @date 2024-02-01
 */
public class InquiryManifest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 询价记录表id */
    @Excel(name = "询价记录表id")
    private Long inquiryRecordId;

    /** 类别id */
    @Excel(name = "类别id")
    private String categoryPids;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryNames;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productsId;

    /** 状态0无效1有效 */
    @Excel(name = "状态0无效1有效")
    private Integer status;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String measurementUnit;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productsName;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInquiryRecordId(Long inquiryRecordId) 
    {
        this.inquiryRecordId = inquiryRecordId;
    }

    public Long getInquiryRecordId() 
    {
        return inquiryRecordId;
    }
    public void setCategoryPids(String categoryPids) 
    {
        this.categoryPids = categoryPids;
    }

    public String getCategoryPids() 
    {
        return categoryPids;
    }
    public void setCategoryNames(String categoryNames) 
    {
        this.categoryNames = categoryNames;
    }

    public String getCategoryNames() 
    {
        return categoryNames;
    }
    public void setProductsId(Long productsId) 
    {
        this.productsId = productsId;
    }

    public Long getProductsId() 
    {
        return productsId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setMeasurementUnit(String measurementUnit) 
    {
        this.measurementUnit = measurementUnit;
    }

    public String getMeasurementUnit() 
    {
        return measurementUnit;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setProductsName(String productsName) 
    {
        this.productsName = productsName;
    }

    public String getProductsName() 
    {
        return productsName;
    }
    public void setQuantity(Integer quantity) 
    {
        this.quantity = quantity;
    }

    public Integer getQuantity() 
    {
        return quantity;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inquiryRecordId", getInquiryRecordId())
            .append("categoryPids", getCategoryPids())
            .append("categoryNames", getCategoryNames())
            .append("productsId", getProductsId())
            .append("status", getStatus())
            .append("measurementUnit", getMeasurementUnit())
            .append("model", getModel())
            .append("brand", getBrand())
            .append("productsName", getProductsName())
            .append("quantity", getQuantity())
            .append("price", getPrice())
            .append("totalPrice", getTotalPrice())
            .toString();
    }
}
